<%= render :partial => "header" %>

<h2>词表类型清单</h2>
<ul>
  <% for subject_word_type in @subject_word_types %>
      <li> <b><%= subject_word_type.title %></b> ：<%= subject_word_type.encoding %>; <%= subject_word_type.about %> <%= link_to "＊", :action => "edit_subject_word_type", :id => subject_word_type %> <%= link_to "－", { :action => 'destroy_subject_word_type', :id => subject_word_type }, :confirm => '真的要删除这个词表类型吗？', :method => :post%></li>
  <% end %> 
</ul>

<h2>添加词表类型</h2>
<%= start_form_tag :action => "create_subject_word_type"%>
  <%= render :partial => "swtform" %>
  <%= submit_tag "添加新的词表类型" %>
<%= end_form_tag %>
